﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CalculatorMVVM.Models
{
    class ModelCalculator
    {
        private string operation;
        private decimal? first;
        private decimal? second;
        private decimal? currentValue;
        private decimal memory;

        public decimal? CurrentValue
        {
            get
            {
                return currentValue;
            }
            set
            {
                currentValue = value;
            }
        }

        public string Operation
        {
            get
            {
                return operation;
            }
            set
            {
                operation = value;
            }
        }

        public decimal? First
        {
            get
            {
                return first;
            }
            set
            {
                first = value;
            }
        }

        public decimal? Second
        {
            get
            {
                return second;
            }
            set
            {
                second = value;
            }
        }

        public decimal Memory
        {
            get
            {
                return memory;
            }
            set
            {
                memory = value;
            }
        }

    }
}
